/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.gov.fasepa.sgpf.rn;

import br.gov.fasepa.sgpf.dao.ContratoSevidorDAO;
import br.gov.fasepa.sgpf.entity.ContratoServidor;
import br.gov.fasepa.sgpf.factoryDAO.GenericRN;
import java.util.List;

/**
 *
 * @author marcosdj
 */
public class ContratoServidorRN extends GenericRN<ContratoServidor> {

    public ContratoServidor obtain(String matricula) {
        return new ContratoSevidorDAO().obter(matricula);
    }

    public List<ContratoServidor> obterAtivos() {
        return new ContratoSevidorDAO().ListarAtivos();
    }

}
